<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');

// 同步应用分包
Route::post('oe/fetch/app/extend', 'app/OeFetch/fetchAppExtend');
// 同步抖音授权关系
Route::post('oe/fetch/aweme/list', 'app/OeFetch/fetchAwemeList');
// 同步获取可用优化目标
Route::post('oe/fetch/optimized/goal', 'app/OeFetch/fetchOptimizedGoal');
// 同步账户下原生锚点
Route::post('oe/fetch/native/anchor', 'app/OeFetch/fetchNativeAnchor');
// 同步获取抖音主页视频
Route::post('oe/fetch/aweme/video', 'app/OeFetch/fetchAwemeVideo');
// 实时获取橙子落地页
Route::post('oe/fetch/orangesite/get', 'app/OeFetch/getOrangeSite');

// 实时拉取快手app
Route::post('ks/fetch/app/list', 'app/KsFetch/fetchAppList');
// 实时拉取定向模板
Route::post('ks/fetch/target/template', 'app/KsFetch/fetchTargetTemplate');
